Skip to content

pod.yaml: add init container waiting for free port#197

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
soltysh:check-free-port
Mar 25, 2019
Merged

pod.yaml: add init container waiting for free port#197
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
soltysh:check-free-port

Conversation

@soltysh
Copy link
Copy Markdown
Contributor

@soltysh soltysh commented Mar 22, 2019

/assign @sttts

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 22, 2019
- name: wait-for-host-port
image: ${IMAGE}
imagePullPolicy: IfNotPresent
command: ['/usr/bin/timeout', '100', "/bin/bash", "-c"] # 60 sec for graceful termination, 35 for minimum-termination-duration
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sttts I've copied 100 here, if you know any reason this should be shorter lemme know

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can. We don't have graceful termination for kube-controller-manager. 10 or at most 30 secs would be a good number.

@mfojtik
Copy link
Copy Markdown
Contributor

mfojtik commented Mar 25, 2019

/retest

@mfojtik
Copy link
Copy Markdown
Contributor

mfojtik commented Mar 25, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 25, 2019
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mfojtik, soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2019
@mfojtik
Copy link
Copy Markdown
Contributor

mfojtik commented Mar 25, 2019

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 25, 2019
@mfojtik
Copy link
Copy Markdown
Contributor

mfojtik commented Mar 25, 2019

cleared via Slack... in this PR we still see controller manager trying to bind on the insecure port, @soltysh have PR that fixes wiring the flags, we can let this go and the other PR should fix passing the flags.

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 25, 2019
@mfojtik
Copy link
Copy Markdown
Contributor

mfojtik commented Mar 25, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit c3a319f into openshift:master Mar 25, 2019
@soltysh soltysh deleted the check-free-port branch March 25, 2019 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants